package com.my.vote.pst.user;

import com.my.vote.entity.req.ReqLogin;
import com.sfh.lib.mvp.IPresenter;
import com.sfh.lib.mvp.IView;
import com.sfh.lib.mvp.annotation.Service;

/**
 * 功能描述:
 *
 * @author
 * @date 2018/4/12
 */
@Service(achieve = PstLogin.class)
public interface IPstLogin extends IPresenter<IPstLogin.IVLogin> {

    interface IVLogin extends IView{
        void onSuccess();
        void onError(String error);
    }
    void login(ReqLogin login);

}
